@charset "utf-8";

.container-fluid{
    padding: 0;
    header{
        background: #222222;
        .my_nav{
            border: none;
            background: none;
            margin: 0;
            .navbar-nav{
                 > li > a {
                    color: #9D9D9D;
                }
                .active>a,>li>a:focus,>li>a:hover{
                        background: #080808;
                        color: #FFFFFF;
                }
            }
        }
        .navbar-brand{
            padding: 7px 15px;
        }
    }
    
    .engine{
        background: #fbfaf7;
        padding-top: 106px;
        padding-bottom: 144px;
        border-bottom: 1px solid #eaeaee;
        .container{
            .engine_top{
                padding-bottom: 78px;
                div:first-child{
                    font-size: 48px;
                    font-weight: bold;
                    color: #0078d7;
                    line-height: 84px;
                }
                div:last-child{
                    font-size: 34px;
                    color: #666666;
                }
            }
            .engine_mid{
                position: relative;
                .engine_icon{
                    width: 64px;
                    height: 64px;
                    border-radius: 3px;
                    transition: all 1s ease-in-out;
                    &:hover{
                        transform: rotate(720deg);
                        background-color: gray;
                    }
                }
                .engine_icon1{
                    background: url(../img/icon_5.png) no-repeat center #0078D7;
                }
                .engine_icon2{
                    background: url(../img/icon_6.png) no-repeat center #0078D7;
                }
                .engine_icon3{
                    background: url(../img/icon_7.png) no-repeat center #0078D7;
                }
                .engine_icon4{
                    background: url(../img/icon_8.png) no-repeat center #0078D7;
                }
                .engine_text{
                    div:first-child{
                        font-size: 20px;
                        color: #333333;
                        line-height: 34px;
                    }
                    div:last-child{
                        font-size: 14px;
                        color: #666666;
                        line-height: 24px;
                    }
                }
                .margin_42{
                    margin-bottom: 42px;
                }
                .engine_img{
                    position: absolute;
                    right: 0;
                    height: 100%;
                    img{
                        position: absolute;
                        top: 0;
                        bottom: 0;
                        right: 0;
                        margin: auto;
                        width: 100%;
                    }
                }
            }
        }
    }
    
    .advantage{
        padding: 89px 0;
        .container{
            .advantage_img{
                position: relative;
                height: 402px;
                text-align: left;
                img{
                    position: absolute;
                    top: 0;
                    bottom: 0;
                    padding-top: 40px;
                    margin: auto;
                    max-height: 100%;
                }
            }
            .advantage_title{
                font-size: 48px;
                color: #8fc31f;
                line-height: 76px;
                font-weight: bold;
                margin-bottom: 30px;
            }
            .advantage_item{
                margin-bottom: 14px;
                .advantage_icon{
                    width: 54px;
                    height: 54px;
                }
                .advantage_icon1{
                    background: url(../img/advantage_12.png) no-repeat center;
                }
                .advantage_text{
                    height: 54px;
                    padding-top: 16px;
                }
            }
        }
    }
    .family{
        background-color: #0079d7;
        padding-top: 54px;
        padding-bottom: 38px;
        .family_title{
            text-align: center;
            font-size: 48.45px;
            color: #fffefe;
            line-height: 180px;
            
        }
        .family_item{
            margin-bottom: 75px;
            .family_icon{
                margin-top: 20px;
                width: 66px;
                height: 66px;
            }
            .family_icon1{
                background: url(../img/family_17.png);
            }
            .family_text{
                padding-left: 60px;
                 div:first-child{
                    font-size: 31.89px;
                    color: #fffefe;
                    line-height: 44px;
                }
                div:last-child{
                    font-size: 14px;
                    color: #fffefe;
                    line-height: 28px;
                }
            }
        }
    }
    .game{
        margin: 40px 0;
        .game_title{
            position: relative;
            line-height: 128px;
            font-size: 34.6px;
            color: #2a2a2a;
            div:first-child{
                margin-left: 15px;
                display: inline-block;
            }
            a{
                position: absolute;
                top: 0;
                bottom: 0;
                right: 15px;
                margin: auto;
                font-size: 14px;
                color: #2a2a2a;
            }
        }
        .game_video{
           text-align: center;
           border-radius: 6px;
           overflow: hidden;
           >img{
               width: 100%;
               height: auto;
//             width: 370px;
//             height: 200px;
           }
        } 
        .game_item{
            text-align: center;
            .gameBox{
                float: left;
//              width: 95px;
                margin: 15px 0;
                >img{
                    border-radius: 2px;
                    width: 100%;
                    height: auto;
                }
                >p{
                    text-align: center;
                    font-size: 14px;
                    color: #2A2A2A;
                }
            }
        }
    }
    .partner{
        padding: 40px 0;
        background-color: #f4f4f4;
        .partner_title{
            padding-bottom: 20px;
            div{
                font-size: 30px;
                color: #2A2A2A;
                >span{
                    font-size: 11.2px;
                    color: #777777;
                }
            }
        }
        .partnerImg{
            display: inline-block;
            margin-bottom: 30px;
            img{
                width: 100%;
            }
        }
        
    }
    .footer{
        padding-top: 30px;
        padding-bottom: 20px;
        background-color: #3b3b3b;
        .container{
            .footer_link{
                float: right;
                text-align: center;
                .footer_item{
                    &:hover{
                        .QRCode{
                            visibility: visible;
                            img{
                                height: 150px;
                            }
                        }
                    }
                    position: relative;
                    .QRCode{
                       visibility: hidden;
                       top: -150px;
                       position: absolute;
                       left: -100px;
                       right: -100px;
                       margin: auto;
                       width: 142px;
                       img{
                           transition: height 400ms ease-out;
                           height: 0;
                       }
                       &::after{
                           content: "";
                           position: absolute;
                           width: 0;
                           bottom: -16px;
                           left: 0;
                           right: 0;
                           margin: auto;
                           border: 16px solid transparent;
                           border-top: 9px solid white;
                       }
                    }
                }
            }
            .footer_text{
                color: #a1a3ab;
                line-height: 28px;
                >div:first-child{
                    font-size: 14px;
                    a{
                        margin-right: 20px;
                        color: #a1a3ab;
                    }
                }
                >div:last-child{
                    font-size: 11.2px;
                }
            }
        }
    }
}

@media (max-width: 767px) {
    .container-fluid{
        .navbar-toggle{
            border: 1px solid #f7f9fb;
            .icon-bar {
                background-color: #f7f9fb;
            }
        }
        .slide{
            .item{
                img{
                    width: 100%;
                    min-height: 150px;
                }
            }
        }
        .engine{
            padding-top: 40px;
            padding-bottom: 50px;
            .container{
                .engine_top{
                    padding-bottom: 40px;
                    div:first-child{
                        font-size: 34px;
                        line-height: 64px;
                    }
                    div:last-child{
                        font-size: 18px;
                    }
                }
                
                .engine_mid{
                    .engine_text{
                        div:first-child{
                            font-size: 20px;
                            line-height: 24px;
                        }
                        div:last-child{
                            font-size: 14px;
                            line-height: 24px;
                        }
                    }
                    .margin_42{
                        margin-bottom: 42px;
                    }
                }
                
                .engine_img{
                    display: none;
                }
            }
        }
        >.family{
            padding-top: 30px;
            padding-bottom: 38px;
            .family_title{
                font-size: 38.45px;
                line-height: 100px;
            }
            .family_item{
                margin-bottom: 35px;
                .family_icon{
                    margin-top: 20px;
                    width: 66px;
                    height: 66px;
                }
                .family_icon1{
                    background: url(../img/family_17.png);
                }
                .family_text{
                    padding-left: 30px;
                     div:first-child{
                        font-size: 31.89px;
                        line-height: 44px;
                    }
                    div:last-child{
                        font-size: 14px;
                        line-height: 28px;
                    }
                }
            }
        }
        .advantage{
            padding: 49px 0;
            .container{
                .advantage_img{
                    display: none;
                }
                .advantage_title{
                    font-size: 38px;
                    line-height: 56px;
                    margin-bottom: 20px;
                }
            }
        }
        .game{
            margin: 30px 0;
            .game_title{
                line-height: 80px;
                font-size: 20.6px;
                color: #2a2a2a;
                a{
                    top: 0;
                    bottom: 0;
                    right: 15px;
                    margin: auto;
                    font-size: 14px;
                }
            }
            .game_item{
                .gameBox{
                    margin: 15px 0;
                    >p{
                        font-size: 14px;
                        color: #2A2A2A;
                    }
                }
            }
        }
        .footer{
            .container{
                .footer_link{
                    .footer_item{
                        &:hover{
                            .QRCode{
                                img{
                                    height: 120px;
                                }
                            }
                        }
                        .QRCode{
                           top: -120px;
                        }
                    }
                }
                .footer_text{
                    margin-top: 20px;
                }
            }
        }
    }
    
}
@media (min-width: 768px) {
    .slide{
        .item{
            img{
                width: 100%;
                height: auto;
            }
        }
    }
}

@media (min-width: 992px) {
    .slide{
        .item{
            img{
                width: 100%;
                height: auto;
            }
        }
    }
    .engine{
        padding-top: 40px;
        padding-bottom: 50px;
        .container{
            .engine_top{
                padding-bottom: 40px;
                div:first-child{
                    font-size: 34px;
                    line-height: 64px;
                }
                div:last-child{
                    font-size: 18px;
                }
            }
            
            .engine_mid{
                .engine_text{
                    div:first-child{
                        font-size: 20px;
                        line-height: 24px;
                    }
                    div:last-child{
                        font-size: 14px;
                        line-height: 24px;
                    }
                }
                .margin_42{
                    margin-bottom: 42px;
                }
            }
        }
    }
}